<include file="./Application/Common/View/pageheader.html" />
<div class="row">
<div class="col-sm-12">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>记录详情</h5>
            <ol class="breadcrumb pull-right">
                <li>
                    <a href="{:U('Console/Transfer/index')}"><strong>返回上一页</strong></a>
                </li>
            </ol>
        </div>
        <div class="ibox-content">		
			<div class="" id="TransPaper"> 
				<style>
					#TransPaper tbody{
						border-bottom:1px solid #ddd;
					}
					#TransPaper tr{
						border-left:1px solid #ddd;
					}
					#TransPaper td{
						border-right:1px solid #ddd;
					}
					#TransPaper td span{
						text-decoration:underline;
					}
				</style>
				<h3 class="text-center">浦东新区医疗急救中心院前院内交接记录单</h3>
				<table class="footable table table-stripped toggle-arrow-tiny" data-page-navigation=".nopagination" data-paging="false">
					<tbody>
						<tr>
							<td>姓名</td>
							<td>{$patient.name}</td>
							<td>性别</td>
							<td>
								<if condition="$patient.sex eq 1">男</if>
								<if condition="$patient.sex eq 2">女</if>
							</td>
							<td>年龄</td>
							<td>{$patient.age}</td>
						</tr>
						<tr>
							<td>送达时间</td>
							<td colspan="2">{$patient.hospital_close_time|date="Y-m-d H:i:s", ###}</td>
							<td>送达医院</td>
							<td colspan="2">{$hospital}</td>
						</tr>
						<tr>
							<td>主诉</td>
							<td colspan="5">{$patient.zhusu}</td>
						</tr>
						<tr>
							<td>初步诊断</td>
							<td colspan="2">{$patient.chubuzhenduan}</td>
							<td>病情判断</td>
							<td colspan="2">{$juggment}</td>
						</tr>
						<tr>
							<td>体检</td>
							<td colspan="5">
								T <span> {$patient.t} </span> ℃、
								P <span> {$patient.p} </span> 次/分、
								R <span> {$patient.r} </span> 次/分、
								BP <span> {$patient.bp} </span> mmHg(kpa)
							</td>
						</tr>
						<tr>
							<td>意识</td>
							<td colspan="2">{$mind}</td>
							<td>皮肤</td>
							<td colspan="2">{$skin}</td>
						</tr>
						<tr>
							<td>瞳孔</td>
							<td colspan="2">{$sight}</td>
							<td>对光反射</td>
							<td colspan="2">{$light}</td>
						</tr>
						<tr>
							<td rowspan="2">辅助检查</td>
							<td colspan="5">
								血糖：首次：<span>6.1</span> mmol/L 复查：<span>6.9</span> mmol/L
							</td>
						</tr>
						<tr>
							<td colspan="5">
								血氧饱和付：首次：<span>{$checkFirst.oxygen_saturation}</span> % 复查：<span>{$checkLast.oxygen_saturation}</span> %
							</td>
						</tr>
						<tr>
							<td colspan="1" >一般治疗</td>
							<td colspan="2" >
								<foreach name="cure" item="vo">
									<p>{$vo.name}</p>
								</foreach>
							</td>
							<td colspan="1" >药物治疗</td>
							<td colspan="2" >
								<foreach name="medicine" item="vo">
									<p>{$vo.medicine_name} 
									<if condition="$vo.pformat eq null" >{$vo.format}<else />{$vo.pformat}</if>
									{$vo.method_name}</p>
								</foreach>
							</td>
						</tr>
						<tr>
							<td>危重病人预报</td>
							<td colspan="5">
							  <if condition="$patient.pre_submit eq 1">已预报</if>
							  <if condition="$patient.pre_submit eq 0">未预报</if>
							</td>
						</tr>
						<tr>
							<td>急救医师签字</td>
							<td colspan="2"></td>
							<td>接诊医护人员签字</td>
							<td colspan="2"></td>
						</tr>
					</tbody>
				</table>
				<h5>注：本单一式两联，第一联粘贴于院前急救病例，第二联交予接诊医院保管。</h5>
			</div>
			<div class="from-group">
					<a onclick="javascript:printOrder();" class="btn btn-primary " >打印</a>
			</div>
            <div class="clearfix"></div>
		</div>
    </div>
</div>

<include file="./Application/Common/View/pagefooter.html" />

<script src="http://code.jquery.com/jquery-migrate-1.1.0.js"></script>
<script src="/Public/js/jquery.jqprint-0.3.js"></script>
<script>
    function  printOrder(){
        $("#TransPaper").jqprint();
    }
</script>
